<template>
    <div>
        <catetoryhead></catetoryhead>
        <div v-if="!$store.state.searchChecked">
            <search></search>
        </div>
        <div v-if="$store.state.searchChecked">
            <catetorylist></catetorylist>
        </div>
    </div>
    
</template>

<script>
import catetoryhead from './components/catetoryhead'
import catetorylist from './components/catetorylist'
import search from './components/search'
export default {
    name:'catetory',
    components:{
        catetoryhead,
        catetorylist,
        search
    }
}
</script>

<style scoped>

</style>